#ifndef TOMATO_H
#define TOMATO_H

#include <QObject>
#include <QTime>
#include <QTimer>
#include <QQmlApplicationEngine>
#include <QItemDelegate>

class Tomato : public QObject
{
    Q_OBJECT
public:
    explicit Tomato(QQmlApplicationEngine &engine, QObject *parent = nullptr);
    ~Tomato();


signals:

public slots:
    void start();
    void pause();
    void stop();
    void setParms();

private slots:
    void showTime();

private:
    QQmlApplicationEngine &_engine;
    QTimer *_timer;

};

#endif // TOMATO_H
